move pci_find_ext_capability() into common PCI code
authorJan Beulich <jbeulich@suse.com>
Tue, 22 Nov 2011 16:22:31 +0000 (17:22 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 22 Nov 2011 16:22:31 +0000 (17:22 +0100)
commitd2e02c9b9cb44d7300f0757b48114210483aad29
treeae99c66c5fd103e0a81d0126832abbf28b121dbe
parentebbd2561b4cefb299f0f68a88b2788504223de18
move pci_find_ext_capability() into common PCI code

There's nothing architecture specific about it. It requires, however,
that x86-32's pci_conf_read32() tolerates register accesses above 255
(for consistency the adjustment is done to all pci_conf_readNN()
functions).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/ia64/xen/pci.c
xen/arch/x86/x86_32/pci.c
xen/arch/x86/x86_64/mmconfig-shared.c
xen/drivers/pci/pci.c